<?php
/**
 * Camelot PHP Tools Loader file
 *
 * @version 2.0
 * @author Bendsoft
 * @package PHP Tools
 * @subpackage Camelot
 * @license FreeBSD License (www.bendsoft.com/licensing/)
 *
 */
// Get server type, iis, apache...
$path_delimiter = (strpos(getenv("SERVER_SOFTWARE"), "IIS")) ? '\\' : '/';

// Get the base folder of the phptools installation
$root_path = str_replace(basename(__FILE__), '', __FILE__);

// Load the Camelot PHP Tools framework
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.wcf.settings.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.exceptions.php';
require_once $root_path . $path_delimiter . 'settings.php';

require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.soap.client.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.sharepoint.constants.php';


require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.file.handling.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.procedures.commands.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.procedures.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.extensions.php';

require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.sharepointcommand.base.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.sharepointcommand.sql.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.sharepointcommand.list.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.sharepointcommand.nonquery.php';

require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.sharepointquery.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.sharepointnonquery.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.xml.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.camelot.xml.sorting.php';



// Helper classes
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.helper.document.libraries.php';
require_once $root_path . $path_delimiter . 'classes' . $path_delimiter . 'class.helper.document.library.php';


require_once $root_path . $path_delimiter . 'helpers' . $path_delimiter . 'class.documenttree.php';
require_once $root_path . $path_delimiter . 'helpers' . $path_delimiter . 'class.documenttree.object.php';
require_once $root_path . $path_delimiter . 'helpers' . $path_delimiter . 'class.sharepointdoclib.helper.php';
require_once $root_path . $path_delimiter . 'helpers' . $path_delimiter . 'class.sharepointdoclib.helper.sessions.php';


?>